import { EventEmitter } from '../base/events';
import { Selector } from './Selector';

export abstract class FigureBase extends EventEmitter {
    
    public selector = new Selector(this)

    public removable = true

    public actived = false

    constructor(public readonly type:string, public target?: any) {
        super()
    }

    public remove() {
        throw new Error("not implements yet")
    }
}